package cn.wfu.rlrjds.utils;

import java.lang.reflect.Type;

public class GsonUtils extends GsonCore {
	public static <T> T fromJson(String json, Class<T> classOfT) {
		return gson.fromJson(json, classOfT);
	}

	public static String toJson(Object jsonElement) {
		return gson.toJson(jsonElement);
	}

	public static <T> T fromJson(String json, Type typeOfT) {
		return gson.fromJson(json, typeOfT);
	}
}
